package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * 报警器接口
 * Created by Administrator on 2017/10/26.
 */

public class AlertDeviceAllJsonBean {

    /**
     * status : true
     * message : 查询数据成功
     * data : {"pageNo":1,"pageSize":10,"totalCount":7,"totalPageNum":1,"list":[{"id":5,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 202-1","isRead":1,"createTime":1508471249000,"modifyTime":1508471260000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":6,"deviceId":6,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理B区 102-3","isRead":1,"createTime":1508471251000,"modifyTime":1508471261000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":8,"deviceId":1,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"看护区C区 303-3","isRead":1,"createTime":1508471253000,"modifyTime":1508471263000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":1,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理B区 302-3","isRead":1,"createTime":1508807274000,"modifyTime":1508807278000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":2,"deviceId":6,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 505-1","isRead":1,"createTime":1508807273000,"modifyTime":1508807278000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":3,"deviceId":1,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 206-1","isRead":0,"createTime":1508807274000,"modifyTime":1508807275000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":7,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"看护区C区 233-3","isRead":0,"createTime":1508807270000,"modifyTime":1508807277000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001}]}
     */

    private boolean status;
    private String message;
    private AlertDeviceDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AlertDeviceDataBean getData() {
        return data;
    }

    public void setData(AlertDeviceDataBean data) {
        this.data = data;
    }

    public static class AlertDeviceDataBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * totalCount : 7
         * totalPageNum : 1
         * list : [{"id":5,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 202-1","isRead":1,"createTime":1508471249000,"modifyTime":1508471260000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":6,"deviceId":6,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理B区 102-3","isRead":1,"createTime":1508471251000,"modifyTime":1508471261000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":8,"deviceId":1,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"看护区C区 303-3","isRead":1,"createTime":1508471253000,"modifyTime":1508471263000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":1,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理B区 302-3","isRead":1,"createTime":1508807274000,"modifyTime":1508807278000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":2,"deviceId":6,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 505-1","isRead":1,"createTime":1508807273000,"modifyTime":1508807278000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":3,"deviceId":1,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"自理A区 206-1","isRead":0,"createTime":1508807274000,"modifyTime":1508807275000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001},{"id":7,"deviceId":2,"oldmanId":26,"userId":null,"aletType":1,"alertInfo":"主动按钮警报","alertLocation":"看护区C区 233-3","isRead":0,"createTime":1508807270000,"modifyTime":1508807277000,"handleStatus":null,"evaluate":null,"result":null,"resultText":null,"modifier":10001}]
         */

        private int pageNo;
        private int pageSize;
        private int totalCount;
        private int totalPageNum;
        private List<AlertDeviceListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPageNum() {
            return totalPageNum;
        }

        public void setTotalPageNum(int totalPageNum) {
            this.totalPageNum = totalPageNum;
        }

        public List<AlertDeviceListBean> getList() {
            return list;
        }

        public void setList(List<AlertDeviceListBean> list) {
            this.list = list;
        }

        public static class AlertDeviceListBean {
            /**
             * id : 5
             * deviceId : 2
             * oldmanId : 26
             * userId : null
             * aletType : 1
             * alertInfo : 主动按钮警报
             * alertLocation : 自理A区 202-1
             * isRead : 1
             * createTime : 1508471249000
             * modifyTime : 1508471260000
             * handleStatus : null
             * evaluate : null
             * result : null
             * resultText : null
             * modifier : 10001
             */

            private int id;
            private int deviceId;
            private int oldmanId;
            private String userId;
            private int aletType;
            private String alertInfo;
            private String alertLocation;
            private int isRead;
            private long createTime;
            private long modifyTime;
            private String handleStatus;
            private String evaluate;
            private String result;
            private String resultText;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getDeviceId() {
                return deviceId;
            }

            public void setDeviceId(int deviceId) {
                this.deviceId = deviceId;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public Object getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public int getAletType() {
                return aletType;
            }

            public void setAletType(int aletType) {
                this.aletType = aletType;
            }

            public String getAlertInfo() {
                return alertInfo;
            }

            public void setAlertInfo(String alertInfo) {
                this.alertInfo = alertInfo;
            }

            public String getAlertLocation() {
                return alertLocation;
            }

            public void setAlertLocation(String alertLocation) {
                this.alertLocation = alertLocation;
            }

            public int getIsRead() {
                return isRead;
            }

            public void setIsRead(int isRead) {
                this.isRead = isRead;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public String getHandleStatus() {
                return handleStatus;
            }

            public void setHandleStatus(String handleStatus) {
                this.handleStatus = handleStatus;
            }

            public String getEvaluate() {
                return evaluate;
            }

            public void setEvaluate(String evaluate) {
                this.evaluate = evaluate;
            }

            public String getResult() {
                return result;
            }

            public void setResult(String result) {
                this.result = result;
            }

            public String getResultText() {
                return resultText;
            }

            public void setResultText(String resultText) {
                this.resultText = resultText;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
